.radio-list-control {
  display: inline-block;
  height: 32px;
  line-height: 0;
  white-space: nowrap;
}
.radio-list-control li {
  position: relative;
  display: inline-block;
  padding: 0;
}
.radio-list-control li:not(:last-child) {
  margin-right: -1px;
}
.radio-list-control li:first-child {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.radio-list-control li:first-child label {
  border-top-left-radius: $border-radius-base;
  border-bottom-left-radius: $border-radius-base;
}
.radio-list-control li:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.radio-list-control li:last-child label {
  border-top-right-radius: $border-radius-base;
  border-bottom-right-radius: $border-radius-base;
}
.radio-list-control label {
  display: inline-block;
  border: 1px solid $border-color-base;
  height: 32px;
  box-sizing: border-box;
  font-size: $font-size-base;
  line-height: 30px;
  padding: 0 15px;
  cursor: pointer;
  transition: background-color 0.2s ease-out;
}
.radio-list-control input[type='radio'] {
  position: absolute !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
}
.radio-list-control input[type='radio'] + label {
  color: #1f2c33;
  border-color: $border-color-base;
  background-color: #ffffff;
}
.radio-list-control input[type='radio'] + label:hover {
  // background-color: #e8f5ff;
  color: $primary-color;
}
.radio-list-control input[type='radio'] + label:active {
  border-color: #acbbc2;
  background-color: #e8f5ff;
}
.radio-list-control input[type='radio']:checked + label {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  border-color: $primary-color;
  background-color: $primary-color;
  position: relative;
  z-index: 1;
}
.radio-list-control input[type='radio']:focus + label {
  box-shadow: 0 0 0 2px rgba(30, 135, 227, 0.35);
}
.radio-list-control input[type='radio'][readonly] + label,
.radio-list-control input[type='radio'][disabled] + label {
  transition: none;
  cursor: default;
  box-shadow: none;
}
.radio-list-control input[type='radio'][readonly]:checked + label,
.radio-list-control input[type='radio'][disabled]:checked + label {
  background-color: #d6dde1;
}
.radio-list-control input[type='radio'][readonly]:checked + label {
  color: #1f2c33;
  -webkit-text-fill-color: #1f2c33;
}

.range-control {
  position: relative;
  display: inline-flex;
}
.range-control input[type='range'] {
  width: calc(100% + 10px);
  height: 20px;
  margin: 2px -5px;
  padding: 0;
  vertical-align: top;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.range-control input[type='range']:focus {
  outline: none;
}
.range-control input[type='range']::-webkit-slider-thumb,
.range-control input[type='range']::-moz-range-thumb {
  height: 10px;
  width: 10px;
  margin-top: 1px;
  opacity: 0;
}
.range-control input[type='range']::-webkit-slider-runnable-track {
  height: 10px;
  opacity: 0;
}
.range-control input[type='text'] {
  width: 31px;
}
.range-control > div {
  position: relative;
  width: calc(100% - 10px - 31px);
  margin-right: 10px;
}
.range-control .range-control-track,
.range-control .range-control-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  margin-top: -1px;
  cursor: pointer;
}
.range-control .range-control-track {
  width: 100%;
  background: #c0c0c0;
}
.range-control .range-control-progress {
  background: #0275b8;
}
.range-control .range-control-thumb {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  margin-left: -5px;
  background: #0275b8;
  border-radius: 50%;
}
.range-control.range-control-focus .range-control-thumb {
  margin-top: -6.66667px;
  margin-left: -6.66667px;
  background: #0275b8;
  border: 2px solid #0395ea;
}
.range-control.range-control-focus .range-control-progress {
  background: #0275b8;
}
.range-control.disabled {
  opacity: 1;
}
.range-control.disabled input[type='range'] {
  cursor: default;
}
.range-control.disabled .range-control-progress,
.range-control.disabled .range-control-thumb {
  background: #c0c0c0;
}
.range-control datalist {
  position: absolute;
  top: 50%;
  display: flex;
  width: 100%;
  margin-top: -1px;
}
.range-control datalist option {
  flex: 1 0 0;
  height: 2px;
  padding: 0;
  font-size: 0;
  border-left: 1px solid #ebeef0;
}

section {
  background-color: #ffffff;
  border: 1px solid #dfe4e7;
}
section .section-head {
  display: flex;
  height: 32px;
  line-height: 32px;
}
section .section-head h4 {
  padding: 0 10px;
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  line-height: inherit;
  color: $text-color;
}
section .section-head .section-toggle {
  max-height: 24px;
}
section .section-foot {
  padding: 0 10px;
  text-align: right;
  line-height: 32px;
  color: #768d99;
}
section.collapsed .section-body,
section.collapsed .section-foot {
  display: none;
}
section:not(:last-child) {
  margin-bottom: 10px;
}
section .list-table {
  border: 0;
}
section .list-table tbody tr:last-child td {
  border-bottom: 1px solid #ebeef0;
}
section .list-table td:first-child,
section .list-table th:first-child {
  padding-left: 10px;
}
section .list-table td:last-child,
section .list-table th:last-child {
  padding-right: 10px;
}
section .list-table.no-data tbody tr:last-child td {
  border-bottom: none;
}

.service-info {
  margin: -10px 0;
  border-left: 4px solid #429e47;
}
.service-info .service-info-grid {
  display: grid;
  grid-template-columns: max-content auto;
  row-gap: 10px;
  column-gap: 10px;
  padding: 10px 10px 0;
}
.service-info .service-info-grid:last-of-type {
  padding-bottom: 10px;
}
.service-info .service-info-label::after {
  content: ':';
}
.service-info .service-info-value .service-info-value-sla {
  display: inline-block;
  word-break: break-word;
  line-height: 18px;
}
.service-info .service-info-value .service-info-value-sla:not(:last-child) {
  margin-right: 10px;
}
.service-info .service-info-value .service-info-value-sla .btn-icon {
  margin-left: 5px;
}
.service-info .service-name {
  padding-bottom: 5px;
  font-size: 1.5em;
}
.service-info .service-actions {
  justify-self: end;
}
.service-info .service-status {
  display: inline-block;
  padding: 0 4px;
  border-radius: 3px;
  background-color: #429e47;
  color: #ffffff;
}
.service-info.service-status-na-bg {
  border-color: var(--severity-color-na-bg);
}
.service-info.service-status-na-bg .service-status {
  background-color: var(--severity-color-na-bg);
  color: #2a353a;
}
.service-info.service-status-info-bg {
  border-color: var(--severity-color-info-bg);
}
.service-info.service-status-info-bg .service-status {
  background-color: var(--severity-color-info-bg);
  color: #00268e;
}
.service-info.service-status-average-bg {
  border-color: var(--severity-color-average-bg);
}
.service-info.service-status-average-bg .service-status {
  background-color: var(--severity-color-average-bg);
  color: #733100;
}
.service-info.service-status-warning-bg {
  border-color: var(--severity-color-warning-bg);
}
.service-info.service-status-warning-bg .service-status {
  background-color: var(--severity-color-warning-bg);
  color: #734d00;
}
.service-info.service-status-high-bg {
  border-color: var(--severity-color-high-bg);
}
.service-info.service-status-high-bg .service-status {
  background-color: var(--severity-color-high-bg);
  color: #52190b;
}
.service-info.service-status-disaster-bg {
  border-color: var(--severity-color-disaster-bg);
}
.service-info.service-status-disaster-bg .service-status {
  background-color: var(--severity-color-disaster-bg);
  color: #4b0c0c;
}

.status-na-bg,
.status-info-bg,
.status-warning-bg,
.status-average-bg,
.status-high-bg,
.status-disaster-bg,
.status-green,
.status-disabled,
.status-grey,
.status-yellow,
.status-red {
  box-sizing: border-box;
  display: inline-block;
  min-width: 16px;
  height: 16px;
  padding-right: 3px;
  padding-left: 3px;
  font-size: 0.917em;
  line-height: 15px;
  text-align: center;
  vertical-align: top;
  border-width: 1px;
  border-style: solid;
  border-radius: 2px;
}

.status-container {
  display: inline-block;
  height: 16px;
  white-space: nowrap;
}
.status-container:not(:first-of-type) {
  margin-left: 3px;
}
.status-container [class^='status-']:not(:last-of-type) {
  padding-right: 4px;
  border-right-style: none;
}
.status-container [class^='status-']:not(:first-of-type) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.status-container [class^='status-']:not(:last-of-type) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.status-container [class^='status-'][data-hintbox='1'] {
  cursor: pointer;
}

.status-na-bg,
.status-info-bg,
.status-warning-bg,
.status-average-bg,
.status-high-bg,
.status-disaster-bg {
  border-color: rgba(31, 44, 51, 0.2);
}

.status-green {
  color: #ffffff;
  background-color: #34af67;
  border-color: #2f9f5e;
}

.status-disabled {
  color: #acbbc2;
  background-color: #ebebeb;
  border-color: rgba(31, 44, 51, 0.2);
}

.status-grey {
  color: #acbbc2;
  background-color: #ebebeb;
  border-color: #ccd5d9;
}

.status-yellow {
  color: #ffffff;
  background-color: #f1a50b;
  border-color: #e79e0b;
}

.status-red {
  color: #ffffff;
  background-color: #d64e4e;
  border-color: #d23d3d;
}

.subfilter-option-grid {
  grid-template-columns: minmax(75px, max-content) auto;
  display: grid;
  margin: 5px 0;
}
.subfilter-option-grid .subfilter-options {
  grid-column: 2 / -1;
}

.subfilter,
.subfilter-enabled {
  display: inline-block;
  height: 24px;
  position: relative;
}

.subfilter {
  margin-right: 10px;
  white-space: nowrap;
  line-height: 24px;
  height: 24px;
  margin-bottom: 2px;
}

.subfilter-enabled {
  background-color: $ant-select-multiple-item-bg;
  border-radius: 4px;
  color: $text-color;
  padding: 0 4px;
}
.subfilter-enabled .link-action {
  color: $text-color;
  text-decoration: none;
}
.subfilter-enabled .link-action:focus {
  color: $text-color;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
}
.subfilter-enabled .link-action:hover {
  color: $text-color;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.subfilter-enabled sup {
  color: #bfcacf;
}

.svg-gauge {
  fill: #1f2c33;
}
.svg-gauge .svg-gauge-description {
  text-align: center;
  white-space: nowrap;
  color: #1f2c33;
}
.svg-gauge .svg-gauge-description div {
  overflow: hidden;
  text-overflow: ellipsis;
}
.svg-gauge .svg-gauge-thresholds-arc-sector,
.svg-gauge .svg-gauge-empty-arc-sector {
  fill: #ebebeb;
}
.svg-gauge .svg-gauge-value-arc-sector {
  fill: #0275b8;
}
.svg-gauge .svg-gauge-value-arc-sector,
.svg-gauge .svg-gauge-empty-arc-sector {
  transition: fill 0.5s ease-in-out;
}
.svg-gauge .svg-gauge-needle {
  fill: #1f2c33;
  stroke: #1f2c33;
  vector-effect: non-scaling-stroke;
  transition: fill 0.5s ease-in-out, stroke 0.5s ease-in-out;
}
.svg-gauge .svg-gauge-needle.svg-gauge-needle-light {
  stroke: rgba(0, 0, 0, 0.2);
}
.svg-gauge .svg-gauge-needle.svg-gauge-needle-dark {
  stroke: rgba(255, 255, 255, 0.3);
}
.svg-gauge .svg-gauge-label-left {
  text-anchor: end;
}
.svg-gauge .svg-gauge-label-center {
  text-anchor: middle;
}
.svg-gauge .svg-gauge-value-and-units {
  text-align: center;
  white-space: nowrap;
  color: #1f2c33;
}
.svg-gauge .svg-gauge-value-and-units > div {
  margin: auto;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svg-gauge .svg-gauge-value-and-units > div .svg-gauge-value {
  overflow: hidden;
  text-overflow: ellipsis;
}
.svg-gauge .svg-gauge-value-and-units-horizontal .svg-gauge-value,
.svg-gauge .svg-gauge-value-and-units-horizontal .svg-gauge-units {
  display: inline;
}
.svg-gauge .svg-gauge-value-and-units-horizontal .svg-gauge-space {
  display: inline-block;
}
.svg-gauge .svg-gauge-value-and-units-vertical .svg-gauge-value,
.svg-gauge .svg-gauge-value-and-units-vertical .svg-gauge-units {
  overflow: hidden;
  text-overflow: ellipsis;
}
.svg-gauge .svg-gauge-no-data {
  text-anchor: middle;
  fill: #768d99;
}

.svg-graph {
  display: block;
}

.svg-point-highlight {
  fill: #1f2c33;
  fill-opacity: 0.5;
}

.svg-graph-percentile text,
.svg-graph-simple-trigger text {
  filter: drop-shadow(1px 1px 0 rgba(128, 128, 128, 0.1));
}

.svg-graph-legend {
  position: relative;
  top: 4px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(var(--columns, 4), auto);
  grid-gap: 0 10px;
  justify-content: start;
  max-height: calc(var(--lines) * 18px);
  margin: 0 10px;
  overflow: hidden;
  line-height: 18px;
}
.svg-graph-legend .svg-graph-legend-header {
  color: #768d99;
}
.svg-graph-legend .svg-graph-legend-header:first-of-type {
  grid-column-start: 2;
}
.svg-graph-legend .svg-graph-legend-item {
  min-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svg-graph-legend .svg-graph-legend-item::before {
  position: relative;
  top: -3px;
  content: ' ';
  display: inline-block;
  width: 10px;
  height: 4px;
  margin-right: 4px;
  background: var(--color);
}
.svg-graph-legend .svg-graph-legend-no-data {
  grid-column: 2 / -1;
  color: #768d99;
}
.svg-graph-legend .svg-graph-legend-header,
.svg-graph-legend .svg-graph-legend-no-data,
.svg-graph-legend .svg-graph-legend-value {
  text-align: right;
}
.svg-graph-legend.svg-graph-legend-statistic {
  grid-template-columns: auto repeat(3, max-content);
  justify-content: stretch;
}
.svg-graph-legend.svg-graph-legend-statistic .svg-graph-legend-item {
  grid-column-start: 1;
}

.svg-pie-chart .svg-pie-chart-arc-placeholder {
  fill: transparent;
}
.svg-pie-chart .svg-pie-chart-space {
  stroke: #ffffff;
  stroke-linecap: round;
}
.svg-pie-chart .svg-pie-chart-arc-no-data-outer {
  fill: #ebebeb;
}
.svg-pie-chart .svg-pie-chart-arc-no-data-inner {
  fill: #ffffff;
}
.svg-pie-chart .svg-pie-chart-total-value div {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  fill: #1f2c33;
}
.svg-pie-chart .svg-pie-chart-total-value-no-data {
  text-anchor: middle;
  fill: #768d99;
}

.svg-pie-chart-legend {
  position: relative;
  top: 4px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(var(--columns, 4), auto);
  grid-gap: 0 10px;
  justify-content: start;
  max-height: calc(var(--lines) * 18px);
  margin: 0 10px;
  overflow: hidden;
  line-height: 18px;
}
.svg-pie-chart-legend .svg-pie-chart-legend-item {
  min-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svg-pie-chart-legend .svg-pie-chart-legend-item::before {
  position: relative;
  top: -3px;
  content: ' ';
  display: inline-block;
  width: 10px;
  height: 4px;
  margin-right: 4px;
  background: var(--color);
}
.svg-pie-chart-legend .svg-pie-chart-legend-header {
  grid-column-start: 2;
  color: #768d99;
}
.svg-pie-chart-legend .svg-pie-chart-legend-no-data {
  color: #768d99;
}
.svg-pie-chart-legend .svg-pie-chart-legend-header,
.svg-pie-chart-legend .svg-pie-chart-legend-value,
.svg-pie-chart-legend .svg-pie-chart-legend-no-data {
  text-align: right;
  white-space: nowrap;
}
.svg-pie-chart-legend.svg-pie-chart-legend-show-value {
  grid-template-columns: auto max-content;
  justify-content: stretch;
}
.svg-pie-chart-legend.svg-pie-chart-legend-show-value
  .svg-pie-chart-legend-item {
  grid-column-start: 1;
}

.svg-pie-chart-hintbox {
  display: flex;
  align-items: center;
  white-space: pre;
}
.svg-pie-chart-hintbox .svg-pie-chart-hintbox-color {
  width: 10px;
  height: 10px;
  margin-right: 10px;
}

.svg-honeycomb .svg-honeycomb-container {
  --color: #1f2c33;
  --fill: #d9e7ed;
  --stroke: transparent;
  --no-data-color: #3c5563;
  --no-data-fill: #ebebeb;
}
.svg-honeycomb feDropShadow {
  flood-opacity: var(--shadow-opacity, 0);
  transition: flood-opacity 0.3s;
}
.svg-honeycomb .svg-honeycomb-cell {
  --px: calc(var(--x) + var(--dx, 0px));
  --py: calc(var(--y) + var(--dy, 0px));
  --cell-stroke: var(--stroke);
  --cell-stroke-width: var(--stroke-width);
  cursor: pointer;
}
.svg-honeycomb .svg-honeycomb-cell path {
  fill: var(--fill);
  stroke: var(--cell-stroke);
  stroke-width: var(--cell-stroke-width);
  transform: translate(var(--px), var(--py)) scale(var(--scale, 1));
  transition: transform 0.3s, fill 0.6s, stroke 0.6s, stroke-width 0.3s;
}
.svg-honeycomb .svg-honeycomb-cell path.svg-honeycomb-backdrop {
  --fill: transparent;
  --cell-stroke: transparent;
  transform: translate(var(--x), var(--y));
}
.svg-honeycomb .svg-honeycomb-cell foreignObject {
  transition: x 0.3s, y 0.3s, width 0.3s, height 0.3s;
}
.svg-honeycomb .svg-honeycomb-cell .svg-honeycomb-content {
  display: grid;
  grid-auto-rows: minmax(max-content, auto);
  align-content: stretch;
  align-items: center;
  height: 100%;
  padding: 0 2em;
  text-align: center;
  line-height: var(--line-height);
  color: var(--color);
}
.svg-honeycomb .svg-honeycomb-cell .svg-honeycomb-label {
  overflow: hidden;
  transition: max-height 0.3s, font-size 0.3s;
}
.svg-honeycomb .svg-honeycomb-cell .svg-honeycomb-label > div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svg-honeycomb .svg-honeycomb-cell:hover {
  --stroke: var(--stroke-selected);
}
.svg-honeycomb .svg-honeycomb-cell.svg-honeycomb-cell-selected {
  --cell-stroke: var(--stroke-selected);
  --cell-stroke-width: calc(var(--stroke-width) * 2);
}
.svg-honeycomb .svg-honeycomb-cell-no-data,
.svg-honeycomb .svg-honeycomb-cell-other {
  --color: var(--no-data-color);
  --fill: var(--no-data-fill);
  --stroke-selected: transparent;
  cursor: default;
}
.svg-honeycomb .svg-honeycomb-cell-other-ellipsis {
  transform: translate(var(--px), var(--py));
}
.svg-honeycomb .svg-honeycomb-cell-other-ellipsis circle {
  fill: var(--color);
}

.dashboard-is-edit-mode
  .svg-honeycomb-container:not(:hover)
  .svg-honeycomb-cell
  path,
.dashboard-is-edit-mode
  .svg-honeycomb-container:not(:hover)
  .svg-honeycomb-cell
  foreignObject,
.dashboard-is-edit-mode
  .svg-honeycomb-container:not(:hover)
  .svg-honeycomb-cell
  .svg-honeycomb-label {
  transition: none;
}

.filter-container.tabfilter-container {
  padding: 0;
  border: 0 none;
  background-color: transparent;
  margin: 0;
}
.filter-container.tabfilter-container .form-buttons [name='filter_new'],
.filter-container.tabfilter-container .form-buttons [name='filter_update'] {
  margin-right: 20px;
}
.filter-container.tabfilter-container .tabfilter-content-container {
  padding: 10px 0;
  margin-bottom: 10px;
  background-color: #ffffff;
  border: 1px solid #dfe4e7;
}
.filter-container.tabfilter-container
  .tabfilter-content-container.tabfilter-collapsed {
  padding: 0 0 10px 0;
}
.filter-container.tabfilter-container
  .tabfilter-content-container.tabfilter-collapsed
  .tabfilter-tabs-container,
.filter-container.tabfilter-container
  .tabfilter-content-container.tabfilter-collapsed
  .form-buttons {
  display: none;
}
.filter-container.tabfilter-container nav > ul {
  display: flex;
  flex: 1;
  justify-content: space-between;
  margin-top: -3px;
}
.filter-container.tabfilter-container nav > ul > li {
  padding-top: 3px;
}
.filter-container.tabfilter-container nav > ul > li:nth-child(2) {
  flex-grow: 1;
  overflow: hidden;
  padding-bottom: 2px;
  margin: 0 3px -2px -3px;
  height: 30px;
}
.filter-container.tabfilter-container nav > ul > li:nth-child(2) ul {
  white-space: nowrap;
  margin-left: 3px;
  margin-right: 3px;
}
.filter-container.tabfilter-container nav > ul > li:nth-child(3) > ul > li {
  margin-right: 0;
}
.filter-container.tabfilter-container
  nav
  > ul
  > li:nth-child(3)
  > ul
  > li:not(:first-child) {
  margin-left: 5px;
}
.filter-container.tabfilter-container
  nav
  > ul
  > li:nth-child(3)
  > ul
  > li.disabled {
  opacity: 1;
}
.filter-container.tabfilter-container nav > ul > li:nth-child(3) .selected {
  background-color: transparent;
}
.filter-container.tabfilter-container nav > ul > li:nth-child(1),
.filter-container.tabfilter-container nav > ul > li:nth-child(3) {
  white-space: nowrap;
}
.filter-container.tabfilter-container nav {
  margin-bottom: -1px;
}
.filter-container.tabfilter-container nav li {
  display: inline-block;
  height: 22px;
  line-height: 22px;
  vertical-align: top;
}
.filter-container.tabfilter-container nav li button {
  vertical-align: middle;
  margin-top: 0;
}
.filter-container.tabfilter-container .tabfilter-item-label {
  display: inline-block;
  border-radius: $border-radius-base;
  border: 1px solid transparent;
  color: #ffffff;
  margin-right: 2px;
  margin-left: 2px;
}
.filter-container.tabfilter-container
  .tabfilter-item-label.unsaved
  .tabfilter-item-link {
  font-style: italic;
}
.filter-container.tabfilter-container
  .tabfilter-item-label.unsaved
  .tabfilter-item-link::before {
  content: '*';
}
.filter-container.tabfilter-container
  .tabfilter-item-label.unsaved
  .tabfilter-item-link[data-counter]::after {
  display: none;
}
.filter-container.tabfilter-container .tabfilter-item-label.selected.expanded {
  position: relative;
  background-color: #ffffff;
  border: 1px solid $primary-color;
  // border-bottom: 0;
  // border-bottom-right-radius: 0;
  // border-bottom-left-radius: 0;
  // padding-bottom: 7px;
  vertical-align: baseline;
}
.filter-container.tabfilter-container
  .tabfilter-item-label.selected.expanded
  .tabfilter-item-link {
  color: $primary-color;
}
// .filter-container.tabfilter-container
//   .tabfilter-item-label.selected.expanded:hover {
//   background: #e8f5ff;
// }
.filter-container.tabfilter-container .tabfilter-item-label.selected {
  background-color: transparent;
  border-color: $border-color-base;
}
.filter-container.tabfilter-container
  .tabfilter-item-label.selected
  .tabfilter-item-link[data-counter]::after {
  display: none;
}
// .filter-container.tabfilter-container .tabfilter-item-label.focused {
//   box-shadow: 0 0 0 2px rgba(30, 135, 227, 0.35);
// }
.filter-container.tabfilter-container
  .tabfilter-item-label.focused
  .btn-icon:active,
.filter-container.tabfilter-container
  .tabfilter-item-label.focused
  .btn-icon:focus {
  box-shadow: none;
}
.filter-container.tabfilter-container .tabfilter-item-label.disabled {
  box-shadow: none;
  pointer-events: none;
}
.filter-container.tabfilter-container
  .tabfilter-item-label.sortable-item-dragging {
  background-color: #ffffff;
}
.filter-container.tabfilter-container
  .tabfilter-item-label:first-child
  .tabfilter-item-link {
  padding: 0 11px 7px 11px;
}
.filter-container.tabfilter-container
  .tabfilter-item-label:first-child
  .tabfilter-item-link::before {
  vertical-align: middle;
}
.filter-container.tabfilter-container .tabfilter-item-link {
  position: relative;
  display: inline-block;
  padding: 0 8px 7px 8px;
  margin-bottom: -7px;
  line-height: 22px;
  color: $text-color;
  border: 1px transparent;
}
.filter-container.tabfilter-container .tabfilter-edit {
  margin: -1px 2px -1px -6px;
}
.filter-container.tabfilter-container
  .tabfilter-tabs
  .tabfilter-item-label:not(:first-child)
  .tabfilter-item-link::before {
  content: ' ';
  position: absolute;
  top: 1px;
  left: -3px;
  display: inline-block;
  height: 20px;
  border-left: 1px solid transparent;
}
.filter-container.tabfilter-container
  .tabfilter-tabs
  .tabfilter-item-label:not(:first-child)
  .tabfilter-item-link.separated::before {
  border-left: 1px solid #768d99;
}
.filter-container.tabfilter-container
  .tabfilter-tabs.sortable-dragging
  .tabfilter-item-label:not(:first-child)
  .tabfilter-item-link::before {
  transition: border-left-color 0.3s;
}
.filter-container.tabfilter-container
  .tabfilter-tabs.sortable-dragging
  .tabfilter-item-label.focused {
  box-shadow: none;
}
.filter-container.tabfilter-container
  .tabfilter-tabs-container
  .filter-container.time-selection-container {
  border: 0 none;
}
.filter-container.tabfilter-container .btn-time {
  padding: 0 11px;
  margin: -1px;
  color: #ffffff;
  border: 1px solid #0275b8;
  border-radius: 2px;
  height: 24px;
  box-sizing: border-box;
}
.filter-container.tabfilter-container .btn-time:hover {
  background-color: #02659f;
  border-color: #02659f;
}
.filter-container.tabfilter-container .btn-time:active,
.filter-container.tabfilter-container .btn-time:focus {
  background-color: #02659f;
  border-color: #02659f;
  box-shadow: none;
}
.filter-container.tabfilter-container .expanded .btn-time {
  background-color: transparent;
  border-color: transparent;
}
.filter-container.tabfilter-container .disabled .btn-time,
.filter-container.tabfilter-container .disabled .btn-time:hover,
.filter-container.tabfilter-container .disabled .btn-time:focus,
.filter-container.tabfilter-container .disabled .btn-time:active {
  color: #acbbc2;
  background-color: #ebebeb;
  border-color: #ccd5d9;
  box-shadow: none;
}

[data-counter]::after {
  margin-left: 0.4em;
  padding: 0.1em 0.4em;
  font-size: 0.917em;
  background-color: #768d99;
  border-radius: 2px;
  color: #ffffff;
  content: attr(data-counter);
}

[data-counter='']::after {
  display: none;
}

.menu-popup .menu-popup-item[data-counter]::after {
  display: block;
  position: absolute;
  top: 2px;
  right: 15px;
  line-height: 18px;
}
.menu-popup .menu-popup-item[data-counter] {
  padding-right: 35px;
}

.ui-tabs-nav {
  height: 40px;
  line-height: 30px;
  border-bottom: 1px solid $ant-color-border-secondary;
  box-sizing: border-box;
  font-size: 14px;
}
.ui-tabs-nav li {
  display: inline-block;
  align-items: center;
  outline: none;
  height: 100%;
}
.ui-tabs-nav li .btn,
.ui-tabs-nav li button {
  margin-left: 5px;
}
.ui-tabs-nav .ui-tabs-anchor:not(.btn) {
  border: none;
  box-sizing: border-box;
  padding: 5px 10px;
  transition: background-color 0.2s ease-out;
  color: $text-color;
  height: 100%;
  display: inline-flex;
  align-items: center;
}
.ui-tabs-nav .ui-tabs-anchor:not(.btn):hover,
.ui-tabs-nav .ui-tabs-anchor:not(.btn):focus,
.ui-tabs-nav .ui-tabs-anchor:not(.btn):active {
  background-color: #e8f5ff;
}
.ui-tabs-nav .ui-tabs-active .ui-tabs-anchor:not(.btn) {
  padding-bottom: 6px;
  background-color: transparent;
  border-bottom: 3px solid $primary-color;
  color: $primary-color;
  text-shadow: 0 0 0.25px currentcolor;
  cursor: default;
}
.ui-tabs-nav .ui-tabs-active .btn {
  // height: auto;
  padding-bottom: 0;
  margin-bottom: 0;
  color: $primary-color;
  background-color: #ffffff;
  border-color: $primary-color;
  // border-bottom: 0;
  // border-bottom-right-radius: 0;
  // border-bottom-left-radius: 0;
}
// .ui-tabs-nav .ui-tabs-active .btn:hover,
// .ui-tabs-nav .ui-tabs-active .btn:focus,
// .ui-tabs-nav .ui-tabs-active .btn:active {
//   background-color: #e8f5ff;
// }
.ui-tabs-nav .ui-state-focus .ui-tabs-anchor:not(:focus) {
  box-shadow: 0 0 0 2px rgba(30, 135, 227, 0.35);
}
.ui-tabs-nav .ui-state-disabled .ui-tabs-anchor {
  cursor: default;
  color: #acbbc2;
  background-color: transparent;
  border: none;
}
.ui-tabs-nav .ui-state-disabled .ui-tabs-anchor:hover {
  background-color: transparent;
  box-shadow: none;
}

.toc .toc-row {
  padding: 6px 10px;
  overflow: hidden;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #768d99;
  border-bottom: 1px solid #ebeef0;
}
.toc .btn-link {
  color: #ffffff;
  border-style: none;
  border-color: #ffffff;
}
.toc .btn-link:focus {
  border-style: solid;
}
.toc .toc-arrow {
  position: relative;
  margin-left: 12px;
}
.toc .toc-arrow .arrow-down,
.toc .toc-arrow .arrow-right {
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
}
.toc .toc-arrow .arrow-down {
  border-top-color: #ffffff;
}
.toc .toc-arrow .arrow-right {
  border-left-color: #ffffff;
}
.toc .toc-sublist .toc-row {
  padding-left: 20px;
  background-color: transparent;
}
.toc .toc-sublist .toc-sublist .toc-row {
  padding-left: 50px;
}
.toc .toc-sublist .btn-link {
  color: #1f2c33;
  border-color: #1f2c33;
}
.toc .toc-sublist .arrow-down {
  border-top-color: #768d99;
}
.toc .toc-sublist .arrow-right {
  border-left-color: #768d99;
}

z-bar-gauge {
  position: relative;
  display: block;
  height: 24px;
}
z-bar-gauge::part(bar) {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #acbbc2;
  border-radius: 3px;
}

.z-select,
z-select {
  display: inline-grid;
}
.z-select:focus,
z-select:focus {
  outline: none;
}
.z-select ul > li.default-option,
z-select ul > li.default-option {
  font-style: italic;
}
.z-select .focusable,
z-select .focusable {
  position: relative;
  width: 100%;
  height: 24px;
  padding: 3px 18px 3px 10px;
  overflow: hidden;
  font-size: 1em;
  line-height: initial;
  vertical-align: baseline;
  text-align: left;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: pre;
  cursor: default;
  border-radius: 0;
  height: 32px;
}
.z-select .focusable::after,
z-select .focusable::after {
  position: absolute;
  top: 50%;
  right: 8px;
  font-size: 10px;
  content: '';
  transform: translateY(-50%);
}
.z-select .focusable:active,
.z-select .focusable:hover,
.z-select .focusable:focus,
z-select .focusable:active,
z-select .focusable:hover,
z-select .focusable:focus {
  color: #1f2c33;
  background-color: #ffffff;
  border-color: #acbbc2;
  box-shadow: none;
}
.z-select .focusable.red,
.z-select .focusable.red.link-action:not(:hover):not(:focus),
.z-select .focusable.red.link-alt:not(:hover):not(:focus),
z-select .focusable.red,
z-select .focusable.red.btn-icon:not([disabled]),
z-select .focusable.red.btn-link:not([disabled]),
z-select .focusable.red.link-action:not(:hover):not(:focus),
z-select .focusable.red.link-alt:not(:hover):not(:focus) {
  color: #e33734;
}
.z-select .focusable.red::after,
.z-select .focusable.red.link-action:not(:focus):not(:hover)::after,
.z-select .focusable.red.link-alt:not(:focus):not(:hover)::after,
z-select .focusable.red::after,
z-select .focusable.red.btn-icon:not([disabled])::after,
z-select .focusable.red.btn-link:not([disabled])::after,
z-select .focusable.red.link-action:not(:focus):not(:hover)::after,
z-select .focusable.red.link-alt:not(:focus):not(:hover)::after {
  color: #1f2c33;
}
.z-select .list,
z-select .list {
  display: none;
  z-index: 20000;
  max-height: 362px;
  max-width: 453px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid;
  box-shadow: 0 6px 10px 0 rgba(118, 141, 153, 0.5);
}
.z-select .list li,
z-select .list li {
  display: block;
  height: inherit;
  box-sizing: border-box;
  min-height: 24px;
  max-width: 453px;
  padding: 5px;
  line-height: normal;
  color: #1f2c33;
  text-overflow: ellipsis;
  word-break: break-word;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
.z-select .list li.hover,
z-select .list li.hover {
  background-color: #e8f5ff;
}
.z-select .list li.red,
.z-select .list li.red.link-action:not(:hover):not(:focus),
.z-select .list li.red.link-alt:not(:hover):not(:focus),
z-select .list li.red,
z-select .list li.red.btn-icon:not([disabled]),
z-select .list li.red.btn-link:not([disabled]),
z-select .list li.red.link-action:not(:hover):not(:focus),
z-select .list li.red.link-alt:not(:hover):not(:focus) {
  color: #e33734;
}
.z-select .list li[disabled],
z-select .list li[disabled] {
  color: #acbbc2;
}
.z-select .list li[optgroup]::before,
z-select .list li[optgroup]::before {
  content: attr(optgroup);
  display: block;
  font-weight: bold;
}
.z-select .list > li > ul,
z-select .list > li > ul {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr);
  margin: 5px -5px -5px;
}
.z-select .list > li > ul li,
z-select .list > li > ul li {
  padding-right: 15px;
  padding-left: 15px;
}
.z-select .list.fall-upwards,
z-select .list.fall-upwards {
  box-shadow: 0 -6px 10px 0 rgba(118, 141, 153, 0.5);
}
.z-select.is-expanded > ul,
z-select.is-expanded > ul {
  display: block;
  position: fixed;
}
.z-select[disabled] .focusable,
z-select[disabled] .focusable {
  pointer-events: none;
}

z-sparkline {
  position: relative;
  display: block;
}
z-sparkline svg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
